//
//  CNodeUtil.h
//  NinjaTurtle
//
//  Created by Nguyen Tri Chung on 1/7/15.
//
//

#ifndef __NinjaTurtle__CNodeUtil__
#define __NinjaTurtle__CNodeUtil__

#include <stdio.h>
#include "cocos2d.h"
#include "../global/global.h"

using namespace std;
USING_NS_CC;

class CNodeUtil {
public:
    static Map<string, __String*>* loadedPlist;
    static Label* createLabelTTF(const string& text, int fontSize);
    static Label* createLabelTTF(const string& text, int fontSize, const string& fontName);
    static MenuItemSprite* createButton(const string& normalFrameName, const string& selectedFrameName);
    static MenuItemSprite* createButtonFontSmall(const string& text, int fontSize, string normalFrameName, string selectedFrameName);
};

#endif /* defined(__NinjaTurtle__CNodeUtil__) */
